modifications made to controllers to display nicer notices/alerts.