change sessi access method in view