Added some of my changes but this is mostly Robert's work making the admin page.