@RequestMapping(value = "/teacher", method = RequestMethod.POST)
 @Timed
 @TeacherRoleRequired
 public ResponseEntity<PortfolioDto> insertTeacherPortfolio(
     @UserId Long userId, @AuthenticationPrincipal AppUser appUser) {
   return response(
       portfolioService.insert(userId, appUser.getCommonName(), PortfolioRole.TEACHER));
 }
 @RequestMapping(value = "/student", method = RequestMethod.POST)
 @Timed
 @StudentRoleRequired
 public ResponseEntity<PortfolioDto> insertStudentPortfolio(
     @UserId Long userId, @AuthenticationPrincipal AppUser appUser) {
   return response(
       portfolioService.insert(userId, appUser.getCommonName(), PortfolioRole.STUDENT));
 }