Auto sign in when user register succesfully