created relations for the relationships in users table