added success alert
added base_controller