Share code for getting for initial values
Test logout/login logic