implements db.addFollowingRelationship functionality