Logs in users after they register