add constants for photos controller
realise all method of photos controller