finished port from session to auth & authority
removed empty whitespace