login form bug fix
password reset fix