corrected user as ressource in routes