setup for apps pages