adding comments for further clarification
fixed typo. lable to label.
added validator module for email and password validation