fix replacing picture; small improvements and refactoring in ExampleUserIdentity; updated getPictureUrl method to properly display image thumbnail dimensions