working on version 2 of login popup