Added flash messages for auth.