Working on authentication and signup

Signup now works and creates a new profile for the user. Login is still
not working.