Fixed timeout screen issue

Completed with:

- [x] Timeout screen issue when session expire 
       
Can you please review the code changes? and let me know if any further modifications are required.

Thanks.