Fixed a bug in which a friend request was automatically sent whenever a user visited another user's page.