Integration of bootstrapUI to already built cakephp CMS

I integrated friendsOfCake/bootstrapUI plugin to my already built cakephp CMS, the aim is to link bootstrap template to my cms, I am having redirection of user/login page with error message URL too long.
how will I resolve the error? or I need a better recommendation to link my bootstrap template to cakephp cms.
cheers

What is the URL that gets too long? I’m wondering if it’s trying to access some page, needing a login, redirecting to the login URL with a redirect parameter added to it to get back to where you came from, and then the login URL is unauthorized and it redirects that same URL but now the redirect parameter is for the login page with the other redirect parameter embedded in it. And so on, adding to the URL every time.