Redirect locked session to login page from main index