Refactored user related class and DAOs for better OOP