created index and logout views