User controller logic