restored user_relationships.py to working order

Put back a function that I'd accidentally deleted...