server api updated
rest responses added