Fix before each on app controller