Added scaffhold for the profile page.

Fixed login popup in safari.