Added updates I made to DB.php and User.php so you can use them. Note: neither are stable yet.