EpanCMS controller added and sql bug fixed