refactor code
add s3 client api
add check user exist and list buckets function