Added check for running test. If test is running the user status will be cleared