if current_user&.terms_agreed?
# Already agreed to terms, so just show settings
if current_user&.terms_agreed?
# Already agreed to terms, so just show settings
elsif current_user.nil? && session[:new_user].nil?
redirect_to login_path(:referer => request.fullpath)
end
elsif current_user.nil? && session[:new_user].nil?
redirect_to login_path(:referer => request.fullpath)
end