PHP Login & Sessions without Craft Commerce? I'm trying to implement this tutorial in my Craft CMS site, I've created all the files and they currently reside in public_html, but twig and the .htaccess of Craft CMS is interfering with it.

Does anyone know what the directory structure should look like to integrate this with craft cms or whether it's possible by other methods?

Appreciate any help.
If you're trying to create a front-end login form, I'd suggest using this as a starting point: https://docs.craftcms.com/v3/dev/examples/login-form.html