Removed unnused code from server.php