So i\'ve been trying to make a login and registering system and i\'ve been having some problems with this function over here
function uidExists($conn, $usern