Work on profile page and friendships, which now work but need a state machiene implemented