now data comes back after submitting and logging