flash error message for new user works