adjusted application layout to resolve logout issue