Fixing redirect encoding
Adding search functionality