added show controller and insert dao method