Implemented authorization through MVC.
Merge pull request #8 from jovan-s/master

Implemented authorization through MVC.