fix guest user NPE issue on main view, remove edit rendering for guest as well