adding br locale for devise and before_filter for controllers