Create user if it doesn't exist in the database

This allows the system to create a new entry for a user if they don't exist in the database.