removed sendAlert and sendOptions functions, change all responses to be json