Add User function. Closes #1