controllers, routes working

fixed no input errors