# Cakedc/users extending endless redirect

**URL:** <https://discourse.cakephp.org/t/cakedc-users-extending-endless-redirect/9869>\
**Category:** Need Help\
**Created:** [October 30, 2021, 2:35am UTC](https://discourse.cakephp.org/t/cakedc-users-extending-endless-redirect/9869 "2021-10-30T02:35:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mokiwaa](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mokiwaa](https://discourse.cakephp.org/u/mokiwaa)\
**Post date:** [October 30, 2021, 2:35am UTC](https://discourse.cakephp.org/t/cakedc-users-extending-endless-redirect/9869/1 "2021-10-30T02:35:16Z")

</div>

I have create a new cakephp 4 project and install arodu/cakelte and cakedc/users. I have follow the doc for extending the cakedc/users plugin and create model, table and controller exactly as the doc say, but when i access the main page or login page I get an error 414 with the message “Submitted URI too large!”. if I use just the default controller, all work fine.  
Can someone have a hint to guide me what I’m doing wrong.

---

<div class="post-metadata">

**Author:** ![mokiwaa](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mokiwaa](https://discourse.cakephp.org/u/mokiwaa)\
**Post date:** [November 8, 2021, 1:57am UTC](https://discourse.cakephp.org/t/cakedc-users-extending-endless-redirect/9869/2 "2021-11-08T01:57:54Z")

</div>

Need to copy the file [users/permissions.php at master · CakeDC/users · GitHub](https://github.com/CakeDC/users/blob/master/config/permissions.php) to app/config  
and update the rules.
