Added initial authentication mechanism