Add tests login, logout, invalid login