reverted to Angular and authentication working