Redirection for app.html and database stub