move flash message area in layout
refactor signup page
refactor user page and TUAT model