If session timeout detected, redirect to login page. Not very good at detecting timeout yet. If I check periodically it keeps the session alive. Issue: #370