created new controller under api/contents