Includes revised
$_SESSION id added
Register users when creating, updating