flask can use different conf, redirection for already logged users