Assigns current user to a post and only allows users to edit or delete their own posts