change redirect URI and change models for django 1.5