Add login foreign key