bug fixes and additions

+ add search
+ fix image upload