Details button is working alright
Added upload form, separated search controllers
Corrected a little mistake on js
finished working upload