create subjects controller and actions