fixed most errors in controller, added sessions, made minor changes to view to test controller
Merge pull request #10 from Lyonsclay/controller

fixed most errors in controller, added sessions, made minor changes to v...