implemented buttons in user profiles that differ based upon status of friendship between users