writing user_matches