Created infrastructure objects and functions to generate api access tokens. Also added method to AccountRepository to find or create a user