Add email part. Change the structure in log in page

Update email part. Change div content dymanically using javascript
rather than move to the new page.