new functionality on User class