query is written in model

to retrieve data from database
News Controller added