securing the admin pages

If you do /admin you can acces some tools the way i secured that is by doing if mysql level is USER redirect to ./index.php
I did that in all admin pages