Create admin panel, fix some issues