log out was added, not tested