User registration and login works end to end