Modifying SELECT to accept JOINS in db.class.php. Added functions to user.class.php, which is also being modified to accommodate the JOINs