added pagenotfound page and updated profile to redirect users to pagenotfound page if id does not exist