Handle POST /message by storing message in db