Changed close option to a logout option