Added ajax for signin and changed searching to /search