Adding authentication and a list on index page