added paperclip,ransack gem, aprove functionality, search function