fixed flash messages for login actions
fixed flash messages for login actions