Fixed session timeout problem