login and event validator

adding form validation and changed logmein to login