login flash messages repair