db.java now sends the proper info to the Database