minor profile and documents pages fixes