Add code to handle timeout login