update layout for user page and add attributes