hooked posts into firebase