Get authorization working for UI