added stubs and authentication for admin panel