updated irctc login process, added error checking