Saving the token hashed in the database