proper flask responses