added transitions for login