Added logout and admin index