Added working logout button to the details screen