fixed authentication on location controller