Automate Login After Signup

Let's update the signup function so that newly added users are logged in automatically. Also, we’ll update the function tests accordingly.

At the moment, we have two services that do what we need them to do (signup and login.) Now, we need signup to also call login so that newly created users are automatically logged into the application.

Our updated application code:

Get hands-on with 1400+ tech skills courses.