added some login validation
moved inline js
typo
Merge remote-tracking branch 'origin/verify_login'