seperate the needed info getting api and get account api