Minor fix to user controller