html separation, login form, fixes