added update query to change the user account's state to verified.
added token generator method.