changed controllers to user autowired Data access objects

autowired data.