added order categories
modifications on resource server