added new routes to handle login and new user profile creation