adding back buttons to views, adding flash message to top