1). create open id service factory.
2). create common error pages.
3). use @Value to read the properties out.