add user where clause for newpost