Create search. Add necessary authorization for some actions