Add basic login required permission

Issue #47
Merge pull request #56 from dodobas/enable_login

Add basic login required permission