adds wokring and styled admin search function