implemented and tested DBLogic.java; added static methods to class User