setup authentication view and application entry point