Catch exception to create user if it does not exist