now catching back button for exit confirmation. Also updated resources layout and logout button