got all read and write rest hooks working. need to work on deletion