updated authentication
updated authentication and merged ok
Merge pull request #59 from JoshFB/addedAuthenticationForViews

Added authentication for views