prevent persisting user if the user has not been saved yet

Signed-off-by: Chris Boertien <chris@aktionlab.com>