made changes in popups controller, added id to index method