Bug fixes, logout button