Minor fixes in login.html

Changed correctData condition and behaviour