Refactor

Relationship, password and post object fields

Signed-off-by: Elliot Condon <e@elliotcondon.com>