Added new view main and  redirecting to this new method from  lti_launch. Changed the  lti_launch handler  to only accept the POST method. Also modified logic to get course instance id from the LTI_LAUNCH dict instead of request.POST.