Debug mode off for production
Debug mode reverted
set up REST framework