Hello mahirharoon, What is your purpose of putting a login capability/features for your site? if you really want a login capability then you must use php,asp or other scripting language which can interact with databases, You can use javascript too but the username and password are pre encoded in the page source code and javascript will validate this and put a cokie for that session. My suggestion is use php with mysql if you want your site visitors to login when they access your site. thats all, sorry for my bad english.