added in based font-end interface to test out api, but having trouble returning response based on user query.