add login logic to index controller
add login logic to index controller

JamesAnthonyLow/Flashcards-Challenge-A-New-Hope,JamesAnthonyLow/Flashcards-Challenge-A-New-Hope,JamesAnthonyLow/Flashcards-Challenge-A-New-Hope