Added creating user and logging in