GetAccessToken controller changed in to a POJO