implementation of sendFrirndRequest class