copy the generated html source of login form and paste it on your index page
That doesn't always seem to work. :-( Sometimes a user is redirected and no cookie is set (though I am forcing it with a hidden (instead of a checkbox)). Also do you know if I can give it some parameters so it redirects them to their profile or something?