update requirements
use flash message
using layout.html