resolve admin redirect loop