merge functions of follow/unfollow buttons into one