updating email error msg, only show sign out when signed in