Only make the F5 button actually have effect if the user is in the the login form state