adding eventSearchparam test
Opening event on eventId fix
getEventById return a single event
Refactoring
Calling get events after get event by id
Extracting ajax call