added before filters to all controllers