added auth function for admin users, and also added a base page layout for add-hacker