start application only after logged in