Added admin panel, fixed bugs