edited index and show for username