roughly done dialogs.
Login combined, jQuery applied, UI works though not good.