removing chat from navbar, updated repository with functionality and alerts