Removed unused tab and added logout function