Implemented authentication. This fixes #29