Insert user.id to database (code)

@amelia3308 Good on you!