saves settings when registering account