Updated Rest Controller

Added Exceptions
Updated Rest Controllers