client glue code to test account login