fixed issues on adding seal info. foxed issue on logging out. fixed bad practices on templates.