initial part of finding a user and match stuff