converting main application page to slim