added authservice class