moved follow function to before send ajax for new post