Returns persistant id instead of temporary id
Returns temporary id and persistant id to client