Edit location and user + search bar

Edits are working.
Search bar sends data but doesn't query the db