read user data from json
small style fix