fixed bug for user controller - would break if entered wrong/address, also added front end validation on email