restruct controller but routes not working