added response status annotation to ajax rest methods