In context services structure and implemented authentication service