Add authentication

Add authentication support
Issue #2