Corrected user coding in routes file