add splash screen to show immediatly. use ajax to wait for server