Update (mainly advisor)

Completed manage.php, code revision, DBHandler (clean up method +
uniform error checking)