created the friendship controller