/**
  * Serve model with subjects.
  *
  * @return the subjects from the database.
  */
 @ModelAttribute("subjects")
 public ArrayList<Subject> getSubjects() {
   ArrayList<Subject> subjects = new ArrayList<Subject>();
   subjects = searchService.getSubjects();
   return subjects;
 }