added mainpage to app.py