Started on the sql stuff for the password reset function