Wrap login form in div, move modal close icon into div, hide login modal...

... on close icon click, add feature test for login