add footer stuff and put success failure notifications in the right place