implemented friendship model, including user search