added password reset and validations