Adding helper functions to user object.