Modified customer into user instead, plus added some comments.