Added clientside validation and password retrieve form