fix problem with mapping in user controller