Registration over : 
remaining : 
1. U.I not proper, need to do it
2. ConstraintValidationException is handled for email, but not sure why
its not working - need to check it. 

Changes: 
1. Login - checks hashed password values. 
2. register new user.