created user and join table