Moved admin and made a header function