changes to login

adde html5 validation
Merge pull request #4 from imohkay/master

kindly pull changes