added simple examples for principals use and authentication

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>