Adding a Login to your web site means setting up a database, and taking the time to do the scripting. I don`t know if there are any free codes available since, every login serves its purpose. My question to you is? What is the purpose of the Login? What is it that you are trying to accomplish? Example: I come to your web site, and login, whats on the other side of the site once I log in? What information am I accessing? What is so important that you need a login?
I can help you if you wish, the only thing is; I am a coldfusion developer and have created various Logins... here goto this example: http://www.cdl-branch.com
and click on Login.. This Login work in sessions, meaning once you log in, it gives you a warm greeting like :Welcome RP, thank you for accessing our secured pages: then they have their tools.. Also once you log out it Kills the session. meaning, you can`t just hit the back button, it makes you log back in.
Let me know if I can be of help
Web Developer / Owner / Consultant
When starting your own business the need to "know-how" is greater than money!