Refactoring User class - removing methods