I am trying to integrate some kind of user management script (registration, log-in/out, etc.) into the site, or to code my own. I have seen some suggestions of tutorials (like http://buildinternet.com/2009/12/creating-your-first-php-application-part-1/), however, they all have limitations (e.g. this one does nothing about form validation, etc.).
I would like to learn (ideally in one guide) to create my own script. However, building this element of the application is necessary but does not need to anything more than workable.
Are there are any pre-made solutions that are easy to integrate with Twitter Bootstrap, that don't have significant bugs (I've bought one script already, which contains at least one infinite loop when a user requests a forgotten password)?
Any advice is greatly, greatly appreciated.