added del_sub function, moved add_sub to user accounts module