Added error/success alerts