modify add and doAdd

updated adding user to database will still need to add methods to add
user to device table too.