logout at the moment is broken till I find a better way of doing it