add method show_notice instead of show_error and show_success
add show_success and show_error,refactor common templates