change the user_can_view method