added function for setting a users password, this can be used for on account creation as well as changing a password