#507 : Redirect to unauthorized place in Carstore Example failed

This is a fix for #507 
Maybe, but it also go against the good practice to have as few exit point as possible in a function