form validation for login and register pages
Merge pull request #15 from mikehoren/FORM-VALIDATION

form validation for login and register pages