added error and success message bar
added success and error messages for polls