implemented resetting the user password