Update login.php

Added javascript form validation