added before filter login