added functionality to follow and unfollow