002: adding login screen and json driven page paint