authenticating user after creating