check for current status before starting/stopping server. fixed error with id in server creation