fixed password reset stuff