Updated / remade admin.php, fixed minor bugs and display errors