Minor fix to bug in userscontroller