added functionality to add news