complete login, logout, check resource flow with some decent UI