made it so that the user gets automatically logged in when created