add user completed

Completed function to add user, and required functions to complete user
add.