- added form validation to login and signup