first version of advance search, changes to navbar