designed a login form and added jQuery onlick events