Fixed friend activity to query by id instead of username, and created
inviteactivity
Linked the InviteActivity to backend