fixed the views with no session control