Creating initial structure for authentication and retrive of the access token