initial data and logout/login