change problem with session and registration paths