created template for admin main page