modified main page, checks if app is configured