Refactor user.sh array

Refactor array in user.sh