adding logout_out_path to before block