Added a logout to options screen option and changed the exit call