Finailized admin page

Also come of the code was cleaned up.