Throw exception when creating new user

When the required entity is not in the database, throw an error rather
than assuming that they are.
Merge branch 'feature/throw-exception-instead-of-die' into develop