updated password reset service to open it up for other implementations