Changes to talk to mongodb
auto formatted.
Added search param to rest call
Changed Go Back option
Removed usage of global variable to store search data