cleared the views and accesses based on user logged_in/logged_out