set up basic application, before authentication