add ignore
change passwd and add session function