Fixed bug in follow and unfollow functions