add user and device table/ add registration