Adds support for authentication
Merge branch 'authentication' into develop