rename layout var and delet auth redirect