extract global layout
add profile page