partially implemented user search
finsihed implementing invite user