Feat/auth view mixins

This branch introduces a couple of mixins for authentication in views.