updated irctc login process, added error checking in postcurl