Add reset password function for user