get userid from db
updated addaccount function