completed functionality for accept friendship button when viewing another user's profile