added some codes in applications_helper.rb