changed some other stuff to take care of new role/view_mode of guest