Refactor user partial as helper method