Refactor and add comments in user model; add function for fetching user item by id