set the process to nil after we kill the server
move the user manager interface to the api package
remove redundant test
sleep for the data to replicate