Added master layout logic for district admins