Build layout using tab, finish signin signout signup page

use update_attributes instead of update_attribute
please refer to Norin Hor-san project