refactor styles and html admin panel