# Do I have my website structure correct?

**URL:** <https://discourse.cakephp.org/t/do-i-have-my-website-structure-correct/994>\
**Category:** Need Help\
**Created:** [August 16, 2016, 7:16pm UTC](https://discourse.cakephp.org/t/do-i-have-my-website-structure-correct/994 "2016-08-16T19:16:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris1](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@Chris1](https://discourse.cakephp.org/u/Chris1)\
**Post date:** [August 16, 2016, 7:16pm UTC](https://discourse.cakephp.org/t/do-i-have-my-website-structure-correct/994/1 "2016-08-16T19:16:20Z")

</div>

Hi there, Could someone clarify If I have this correct.

I’m creating a site that a user can create an account with. I should then have the login, register, logout, account page/edit etc actions in the users controller. This controller then sets the user data as a session. When the user goes to another section of the site, such as a different controller, these pages can still access and display the user data from the session.

Does this format sound correct?

Thanks
