added devise for login
authenticate before opening index page