cropped flowchart, added logout to settings