add cleanup of database when user is deleted
add role handling to sensors not completely working yet