patched some bugs and added the admin page

This admin page will be allowed for all users until i enable the
permissions.