added the friendship controller as well as test for it