Refactor user views into partial.