improved flexibility of getting user and account info