Fix search conditional.
Add jQuery UI and limit User scope.