Mapped writtenBy attribute and turn on bidirectional relationship