updated users session and add conditions with view list videos and photos