responses moved from main.go
error response helper