adding permissions for logged in users
adding handling for mobile views