added login dialog with jqueryui