Improved logging and added admin panel