added code to get the userid that is logged in in the url so that we can
go back to their matches