Implement a basic authentication service