Reworked some things regarding logout and enabled admin pages.