created friendship controller