got the web url from config file. Added function to wait for email to arrive. Simplify the login testcase. Few other cosmetic and warning fixing in the code