Added authentication service, to manage storing the authKeys in the cookies