Moved logout to Angular stuff