created action send password reset and created method generate token for password reset token