added autostart and state toggle to server settings