implemented duplicate workaround in users attendance methods