changed login form popup to window