Added custom middleware for cross origin resource sharing with realfeelz ui.