Adding the registration and login functionality as well as adding the tests to test the functionality.