added a test to ensure that only signed in users can visit the index page
added an :index option to the signed in user action so that only signed in users can visit the index page