the index page link on createProfile page was not working