fixed doattend problem
fixed error in users controller