Complete CRUD functions for user posts