Added code for not displayig pop up asking for email address when user is logged in