fixbug: unless($user) is always true. refact: add_post($post,$user) is deprecated.

oh,,,unles($user) is always false....not ture....