fix the login page and add password reset.