Fixed user permission issues for routes and imports.