Add login button code per the developer docs