Added checkID function

checks if theres a story with the same id in our server