server file
respond to get '/' and get '/id'