refactor where user id to a method
Adds the ability to search for images by filename