using scopes for routes