completes token-based session storage, completes angular authentication service