added admin privileges

Will only show the navigation for an admin if, user is an admin. If user
tries to go directly to admin.php page, it will redirect to home.