added flash appearance (partial flash_messages) and extracted top nav to a partial (top_nav)