Assert user.id present when posting a comment

Fix for #102

Assert user.id presence. Otherwise an a TypeError is returned when a user is not logged in and attempts to post.