added friendship controller and updated views