take resources users from routes