added auto log in when creating account