moved User class
reimplemented User class using the new DbRecord class