updated login and edit html templates