updated profile view controller

also link the pages together