fixed issue where non-admins would get maintenance mode header if maintenance mode was NOT enabled (logic errors, grrr..)