added controller for login

user password and email stored
need to implement ajax call to authenticate user