changes on user form and index page because of authentication added