Fixed #79 by moving logout to settings.