Initial framework for authentication