Refactoring of coreUsers.php, removed old mysql dependency

Removed another function from sql.php done refactoring on the user side.