I have created my own custom theme for october cms and installed the rainlab user plugin.
I have created a new page name /accounts and added the user management form to it .
Similarly I added the session component in my default layout and added the conditions for displaying the login and logout depending on the user login status.
The logout functionality is working totally fine . But the issue arises when I try to login or register a new user the page only refreshes and the same registration form reappear. And when I hard refresh the page I am able to see that indeed I am logged in as It shows my profile page.
Not sure what is the exact issue . Am I missing on something.