merge app controller