changes made to serve the logout dependencies of test