[Tunji] X added allow cross origin request capabilities to server
[Tunji & Neil] fixed the search api