edited layout for logged in user