remove some console.logs
add flash notifications