RAVEN - refactor user manager to work with hibernate