integrates the friendship model in the users and friends controller