Get basic user registration kind of working. Still needs some clean up