fixed header bug and adds pictures resource

`pictures` resources can now be requested and bug was fixed with the `accept` header