change service restart strategy

use static value to record service status
can authenticate multi users
fix delete user and delete directory
add config button the toast