store username and token in authentication service