fixed login issue
Merge pull request #56 from wmantly/views

fixed login issue