implemented Adding friends and users to the backend