finalizing code for beta added search and image uploading admin