Restrict access to the database admin panel.
Fix location index.php redirects to if the user is logged in.