Add function for adding a new user