setting up secure server for testing