(feat) settings logout function now connected to server