Update UserMgmtModify.php and userMgmtForm.php

Make all mysqli calls object oriented style, close $dbc connection and
make a few corrections and improvements to the path handling.