added new user to db, put instead of post for update