Made log out button a bar button instead