Added persistent serversettings, added input validation, set timeout to 3 seconds