Adding working REST handler