Generating access token for User API