fixed profileURL so username is passed
made profileURL class method