Add a logout button and fix level log username