fix broken profiles when not logged in