added all controller methods and tests for the annotations