Rewrite post method
Fix return values in post