added publish/unpublish functionality and fixed save functionality. styles for dashboard buttons have also been update