add nil user fix to create method
Merge pull request #1 from elliotec/master

add nil user fix to create method