Fixes to logout and permissions. Updated to company admin dashboard