Tied sample forms to restful services of application

Added a CORSFilter for Cross seite restrictions