add json controller for status
resolved conflict in route