Now accepting logout in LOGIN-state
Added more prints for easy debugging