finish log in/out and pass all testing