Add validate password logic. #122
Add validate email logic. #122