Auth service

This PR addresses part of #8 .