implemented logout, sort of kind of get it, me gusta