logged-in fix
view