added HttpResponseRedirect to the views of authdetails app