add functionality to user resource