integrating create offer view with backend