added an aditional check to make sure the user has no runnning processes
more changes