changed authentication,modified index page and form