implementing code-exchanging for set of tokens

Also, the instantiation of a User object from said credentials