Added options for logout and stay connected button

From @nielsradstake's fork of my fork.