added User statics&methods, DB class