Registering now logs users in and redirects to home