Partial implementation of password reset