updated application helper, erb files