Added functionality to Logout button in Settings.java. Copy+paste what i have in this method for all Logout buttons