login form on index page is working