ensure username variable is not None before checking if profilephp in it
Merge pull request #438 from michaelclagett/master

ensure username variable is not None before checking if profilephp in it