TFIS 2 login
implement logout from browser
fix unit tests