Fix bug where exception is thrown when trying to edit User
Fix bug where exception is thrown when trying to edit User

This is caused because User model objects do not have "posted_by" field,
instead, they have "username". Thus, instance_of? method is used to determine
the type of the argument, and get the "owner" of that object accordingly.

NigoroJr/nigorojr.com,NigoroJr/nigorojr.com