redirect /login if the user is already logged in
redirect /login if the user is already logged in
fixing error codes
adding error response
adding error callback
updating the error response
respond with proper status code
adding error response
checking if a user already exist
respond with proper http status code