missing semi; add logout method