[workaround] avatar scripts are only required in case a user is logged in