Added user id to database