Added login requred decorator [PD-895]

Tests pass