The technical requirement of registering to bring an action is a red herring (and registering can be done right before you decide to sue, long after you publish the work, though you give up some statutory rights in that example) that is unrelated to the question of copyrightability-something the Copyright Office makes absolutely clear.