basic functionality to get auth token implemented