Changed user model to use slice.