The problem was that I needed to add User Session as a component. Hopefully octobercms can remove my negative review as it wont let me do that on my own. Sorry about that.
Access
Single page application for login and registration
Single page application for login and registration