fixed accidental clearing of login button