Thanks a lot ! That is exactly what I wanted to achieve last two months without any success. I am still unclear what is wrong with my code but that does not matter anyway. Once again, thanks a lot !
You're very welcome, I'm always happy to help others. And if you end up improving the login module please do let me know, so I can use the improvements. I plan to use it for my software development project.